What is a Shared Worker? How can multiple browser tabs communicate through one? What are its limitations?
A Shared Worker is accessible from multiple tabs/windows with the same origin. Communication uses ports. Limitations: same-origin policy, no access to DOM, lifecycle tied to all connections.